package com.xhcl.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xhcl.common.annotation.Excel;
import com.xhcl.common.core.domain.BaseEntity;

/**
 * 单位查询定义对象 t_srhs_dwcx
 * 
 * @author xhcl
 * @date 2020-08-30
 */
public class TSrhsDwcx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账本号 */
    @Excel(name = "账本号")
    private Long zbh;

    /** 账本名称 */
    @Excel(name = "账本名称")
    private String zbmc;

    /** 显示名称 */
    @Excel(name = "显示名称")
    private String xsmc;

    /** 序号 */
    @Excel(name = "序号")
    private Long xh;

    /** 是否显示：0 不显示；1 显示 */
    @Excel(name = "是否显示：0 不显示；1 显示")
    private Long sfxs;

    /** 数据类型：0年初结余；1本月贷方；2本年贷方；3本月借方；4本年借方；5本季贷方；6本季借方；7公式 */
    @Excel(name = "数据类型：0年初结余；1本月贷方；2本年贷方；3本月借方；4本年借方；5本季贷方；6本季借方；7公式")
    private Long sjlx;

    /** 规则，公式则是具体公式，其余为科目代码 */
    @Excel(name = "规则，公式则是具体公式，其余为科目代码")
    private String rule;

    public void setZbh(Long zbh) 
    {
        this.zbh = zbh;
    }

    public Long getZbh() 
    {
        return zbh;
    }
    public void setZbmc(String zbmc) 
    {
        this.zbmc = zbmc;
    }

    public String getZbmc() 
    {
        return zbmc;
    }
    public void setXsmc(String xsmc) 
    {
        this.xsmc = xsmc;
    }

    public String getXsmc() 
    {
        return xsmc;
    }
    public void setXh(Long xh) 
    {
        this.xh = xh;
    }

    public Long getXh() 
    {
        return xh;
    }
    public void setSfxs(Long sfxs) 
    {
        this.sfxs = sfxs;
    }

    public Long getSfxs() 
    {
        return sfxs;
    }
    public void setSjlx(Long sjlx) 
    {
        this.sjlx = sjlx;
    }

    public Long getSjlx() 
    {
        return sjlx;
    }
    public void setRule(String rule) 
    {
        this.rule = rule;
    }

    public String getRule() 
    {
        return rule;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zbh", getZbh())
            .append("zbmc", getZbmc())
            .append("xsmc", getXsmc())
            .append("xh", getXh())
            .append("sfxs", getSfxs())
            .append("sjlx", getSjlx())
            .append("rule", getRule())
            .toString();
    }
}
